<?php
namespace Home\Model;
use Think\Model;

class StainfoModel extends Model {
    public function getSimCount($smac){
       return $this->where(array('smac'=>$smac))->count();
    }

}

